package com.hzdesk.media.koreabatchmatvector.bean;

import android.graphics.Paint;


import com.hzdesk.media.koreabatchmatvector.config.AppConfig;
import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.io.Serializable;

/**
 * 
 * @author Mr.Lee
 *
 */
@XStreamAlias("pathbean")
public class PathBean implements Serializable {
	private static final long serialVersionUID = 1L;
	private long time;
	private String type;
	private Paint paint;
	private String color;
	private int size;
	private float startx,starty,endx,endy;
	//private PathInfo mPathInfo;+
	private SerPath mSerPath;
	private int number;
	private int Action;




	public PathBean() {}
	public PathBean(long time, String type, String color, int size, SerPath mSerPath, int number) {
		super();
		this.time = time;
		this.type = type;
		this.color = color;
		this.size = size;
		this.mSerPath = mSerPath;
		this.number=number;
		this.Action= AppConfig.ACTION_1;
	}
	public PathBean(long time , String type, int number) {
		this.time = time;
		this.type = type;
		this.number=number;
		this.Action=AppConfig.ACTION_0;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public Paint getPaint() {
		return paint;
	}
	public void setPaint(Paint paint) {
		this.paint = paint;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public float getStartx() {
		return startx;
	}
	public void setStartx(float startx) {
		this.startx = startx;
	}
	public float getStarty() {
		return starty;
	}
	public void setStarty(float starty) {
		this.starty = starty;
	}
	public float getEndx() {
		return endx;
	}
	public void setEndx(float endx) {
		this.endx = endx;
	}
	public float getEndy() {
		return endy;
	}
	public void setEndy(float endy) {
		this.endy = endy;
	}
	public SerPath getmSerPath() {
		return mSerPath;
	}
	public void setmSerPath(SerPath mSerPath) {
		this.mSerPath = mSerPath;
	}
	public int getAction() {
		return Action;
	}
	public void setAction(int action) {
		Action = action;
	}
	
	
	
	
	

}
